package com.foreveross.common;


public class Constants
{
	public static String SYWebService_WsdlLocation = "http://pmwxsz.crland.com.cn:9060/NetApp/SYS86Service.asmx";
	//http://202.96.135.56:9060/NetApp/SYS86Service.asmx/GetSYS86Service
	public static int PAGE_MAX_SIZE = 10000000;
	public static int PAGE_SIZE = 10;
	//新增操作 
	public static String UPDATE_ADD = "ADD";
	//修改操作
	public static String UPDATE_EDIT = "EDIT";
	//查看操作
	public static String UPDATE_WATCH = "WATCH";
	
	//登陆异常---没有登陆
	public static String NO_LOGIN = "NO_LOGIN";
	
	//登陆异常---登陆参数异常
	public static String LOGIN_PARAMETER_ERROR = "LOGIN_PARAMETER_ERROR";
 
	//日志保存---是否开启保存微信日志
	public static Boolean IS_LOG_WEIXIN = true;
 
	public static int OPERATE_TYPE_BACKGROUND = 1;
	
	public static int OPERATE_TYPE_WEIXIN = 2;
	
	//日志处理类型添加
	public static int LOG_ADD = 1;
	//日志处理类型更新
	public static int LOG_UPDATE = 2;
	//日志处理类型删除
	public static int LOG_DEL = 3;
	//日志处理类型登陆
	public static int LOG_LOGIN = 4;
	//日志处理类型认证通过
	public static int LOG_AUTHENTICATION = 5;
	//日志处理类型认证不通过
	public static int LOG_UNAUTHENTICATION = 6;
	
	public static String WEBAPP_PATH ="http://120.25.67.109:80/HRTenement";
	
	public static String REAL_PATH = "";
	
	//图片最大大小
	public static long IMG_MAX_SIZE = 4*1024*1024;
	//文件最大大小
	public static long FILE_MAX_SIZE = 10*1024*1024;
	
	
	//支付类型  线下支付
	public static final int PAY_TYPE_OFFLINE = 0;
	//支付类型 在线支付
	public static final int PAY_TYPE_ONLINE = 1;
	
	//未支付
	public static final int PAY_STATUS_FAIL = 0;
	//支付成功
	public static final int PAY_STATUS_SUCCESS = 1;
	//线下已提货
	public static final int PAY_STATUS_OFFLINE_SUCCESS = 2;
	//线下已失效
	public static final int PAY_STATUS_OFFLINE_FAIL = 3;
	//已退款
	public static final int PAY_STATUS_REFUND_SUCCESS = 4;
	//微信支付成功,系统保存失败
	public static final int PAY_STATUS_SYS_FAIL = -1;
	
	//
	public static final String AUTHENTICATIONSTATUS_FAIL = "0";
	public static final String AUTHENTICATIONSTATUS_SUCCESS = "1";
	public static final String AUTHENTICATIONSTATUS_REJECT = "2";
	
	//基础数据已经使用时，友好提示无法删除
	public static final String SYS_BASEDATA_DEL_ERRE = "系统中已存在关联数据，无法删除!";
	
	//物业缴费区分类型
	public static final String FIND_COST_CAR = "0";
	public static final String FIND_COST_TENEMENT = "1";
	
	//发布消息、资讯不针对全部楼盘
	public static final int NOT_ALL = 0;
	//发布消息、资讯针对全部楼盘
	public static final int IS_ALL = 1;
	
	//快递免责协议 认同
	public static final String EXPRESSAGREEMENT_SUCCESS= "1";
	//报修处理
	public static final String REPAIR_UNDEAL = "0";
	public static final String REPAIR_DEAL = "1";
	
	public static String getUpdateType(String updateType){
		String str = null;
		if(updateType.equals(UPDATE_ADD))  str = "新增";
		if(updateType.equals(UPDATE_EDIT))  str = "修改";
		if(updateType.equals(UPDATE_WATCH))  str = "查看";
		return str;
	}
}



